﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ProductLayout.master" AutoEventWireup="true" CodeFile="product-iPod.aspx.cs" Inherits="product_iPod" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="DataList1" runat="server" BorderColor="White" 
        BorderStyle="Solid" CellPadding="10" CellSpacing="10" 
        onitemcommand="DataList1_ItemCommand" RepeatDirection="Horizontal" 
        RepeatColumns="4">
        <ItemTemplate>
            <asp:ImageButton ID="ImageButton1" runat="server" Height="225px" 
                Width="225px" 
                ImageUrl='<%# Eval("ProductsImage") %>'
                CommandArgument='<%# Bind("ProductsID") %>'
                CommandName="ProductIPod" />
            <br />
            <asp:Label ID="lblName" runat="server" Visible="True" Text='<%# Eval("ProductsID") %>'></asp:Label>
            <br />
            <asp:Label ID="lblPrice" runat="server" Visible="True" Text='<%# Eval("ProductsPrice") %>'></asp:Label>
            &nbsp;$<br />
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

